package org.example.service.middlegateway.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "data-gateway-auth")
public interface AuthFeignClient {
    @GetMapping("/auth/hasAuth")
    public Boolean hasAuth(@RequestParam String token);
}
